/**
 * Copyright (c) 2006 RiseSoft Co.,Ltd  
 * $Header$
 */
package cn.newtest.bi.collection.groovy;

import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;

/**
 *
 *
 * @author <a href="mailto: chenjian@risesoft.net">陈健</a>
 * @version $Revision$
 * 
 */
public class Fault implements Serializable {
	
private static final long serialVersionUID = -1900025759743956174L;
	
	private String formulaName;

	private String notice;
	
	private String cells;
	
	private String formulaType;
	
	public String getFormulaType() {
		return formulaType;
	}

	public void setFormulaType(String formulaType) {
		this.formulaType = formulaType;
	}

	public String getFormulaName() {
		return formulaName;
	}

	public void setFormulaName(String formulaName) {
		this.formulaName = formulaName;
	}

	public String getNotice() {
		return notice;
	}

	public void setNotice(String notice) {
		this.notice = notice;
	}

	public String getCells() {
		return cells;
	}

	public void setCells(String cells) {
		this.cells = cells;
	}
	
	public boolean equals(Object object) {
		if (!(object instanceof Fault)) {
			return false;
		}
		Fault rhs = (Fault) object;
		return new EqualsBuilder().append(this.notice, rhs.notice).append(this.cells, rhs.cells).isEquals();
	}

}
